define([
    'jQuery',
    'Underscore',
    'Backbone',
    'Kendo',
    'text!templates/home/guitest.html'
], function($, _, Backbone, Kendo, guiTestTemplate){

    
    
    var guiTestView = Backbone.View.extend({
    


        el: $("#content"),



        render: function() {


            this.$el.html(guiTestTemplate);

            var data = [
                    "Albania",
					"Andorra",
					"Armenia",
					"Austria",
					"Azerbaijan",
					"Belarus",
					"Belgium",
					"Bosnia & Herzegovina",
					"Bulgaria",
					"Croatia",
					"Cyprus",
					"Czech Republic",
					"Denmark",
					"Estonia",
					"Finland",
					"France",
					"Georgia",
					"Germany",
					"Greece",
					"Hungary",
					"Iceland",
					"Ireland",
					"Italy",
					"Kosovo",
					"Latvia",
					"Liechtenstein",
					"Lithuania",
					"Luxembourg",
					"Macedonia",
					"Malta",
					"Moldova",
					"Monaco",
					"Montenegro",
					"Netherlands",
					"Norway",
					"Poland",
					"Portugal",
					"Romania",
					"Russia",
					"San Marino",
					"Serbia",
					"Slovakia",
					"Slovenia",
					"Spain",
					"Sweden",
					"Switzerland",
					"Turkey",
					"Ukraine",
					"United Kingdom",
					"Vatican City"
                ];

            $("#sjaakie").kendoAutoComplete({
                dataSource: data,
                filter: "startswith",
                placeholder: "Select country...",
                separator: ", "
            });


            
console.log('Zal ik eens wat renderen?');        
/*             console.log(Kendo); */
        
        }
        

    
    });
    
    
    
    return new guiTestView;
    
    
    
});